﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Sys
{
    [Serializable]
    public class SysUserModel
    {
        public SysUserModel()
        { }
        #region Model

        /// <summary>
        /// 等级ID
        /// </summary>
        public int ID
        {
            set;
            get;
        }
        public int Province
        {
            set;
            get;
        }
        public int City
        {
            set;
            get;
        }

        /// <summary>
        /// 删除状态：0未删除1已删除
        /// </summary>
        public int ViewDel
        {
            set;
            get;
        }
        /// <summary>
        /// 状态显示(0停用，1启用)
        /// </summary>
        public int ViewFlag
        {
            set;
            get;
        }
        /// <summary>
        /// 公司ID
        /// </summary>
        public int EnterpriseId
        {
            set;
            get;
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            set;
            get;
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName
        {
            set;
            get;
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd
        {
            set;
            get;
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string Modile
        {
            set;
            get;
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set;
            get;
        }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId
        {
            set;
            get;
        }
        /// <summary>
        /// 帐号禁用日期（为空没限制）
        /// </summary>
        public DateTime? DisableTime
        {
            set;
            get;
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Sequence
        {
            set;
            get;
        }
        /// <summary>
        /// 创建登录ID
        /// </summary>
        public int CreateLoginID
        {
            set;
            get;
        }
        /// <summary>
        /// 创建登录名
        /// </summary>
        public string CreateLoginName
        {
            set;
            get;
        }
        /// <summary>
        /// 创建 时间
        /// </summary>
        public DateTime CreateDate
        {
            set;
            get;
        }
        /// <summary>
        /// 修改登录ID
        /// </summary>
        public int ChangeLoginID
        {
            set;
            get;
        }
        /// <summary>
        /// 修改登录名
        /// </summary>
        public string ChangeLoginName
        {
            set;
            get;
        }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ChangeDate
        {
            set;
            get;
        }

        /// <summary>
        /// 系统用户所在公司名称
        /// </summary>
        public string EnterpriseName
        {
            set;
            get;
        }

        /// <summary>
        /// 是否为所属机构管理员（0:否,1:是）
        /// </summary>
        public int IsManage { get; set; }

        public string RoleName { get; set; }

        public string Img { get; set; }

        public DateTime? EndTime { get; set; }

        #endregion Model

    }
}
